package com.ww.demo.newcoder;

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Main3 {
    public static void main(String[] args) {
        int n = 0 ;// 1≤n≤1000
        int val = 0; // 1 <= val <= 500

        Scanner scanner = new Scanner(System.in);

        Set set = new HashSet<Integer>();

       n =  scanner.nextInt();
        for (int i = 0; i < n ; i++) {

            val =  scanner.nextInt();

            set.add(val);
        }







    }
}
